
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - Global Information</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item ouvert"><a href="index.html">Global</a></div>
                <div class="item "><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges">
            </div>

            <div class="schema polar">
              <div id="container_number_of_requests"></div>
            </div>
<div class="simulation-card">
  <div class="simulation-version-information">
  <span class="simulation-information-title">Gatling Version</span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Version: </span>
      <span>3.9.5</span>
    </span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Released: </span>
      <span>2023-05-10</span>
    </span>
  </div>
  <div id="simulation-information" class="simulation-version-information">
    <span class="simulation-information-title">Run Information</span>
    <div class="simulation-information-container">
      <span class="simulation-information-item">
        <span class="simulation-information-label">Date: </span>
        <span>2023-08-23 18:48:21 GMT</span>
      </span>
      <span class="simulation-information-item">
        <span class="simulation-information-label">Duration: </span>
        <span>3m 45s </span>
      </span>
      <span class="simulation-tooltip simulation-information-item description" title="Description" data-content="natanaelsimoes">
        <span class="simulation-information-label">Description: </span>
        <span>natanaelsimoes</span>
      </span>

    </div>
  </div>
</div>
</div>

                      <div id="statistics_table_container">
                        <div id="stats" class="statistics extensible-geant collapsed">
                            <div class="title">
                              <div id="statistics_title" class="title_base"><span class="title_base_stats">Stats</span><span class="expand-table">Fixed height</span><span id="toggle-stats" class="toggle-table"></span><span class="collapse-table">Full size</span></div>
                              <div class="right">
                                  <button id="statistics_full_screen" class="statistics-button" onclick="openStatisticsTableModal()">Full Screen</button>
                                  <button class="statistics-button expand-all-button">Expand all groups</button>
                                  <button class="statistics-button collapse-all-button">Collapse all groups</button>
                              </div>
                            </div>
                            <div class="scrollable">
                              <table id="container_statistics_head" class="statistics-in extensible-geant">
                                  <thead>
                                      <tr>
                                          <th rowspan="2" id="col-1" class="header sortable sorted-up"><span>Requests</span></th>
                                          <th colspan="5" class="header"><span class="executions">Executions</span></th>
                                          <th colspan="8" class="header"><span class="response-time">Response Time (ms)</span></th>
                                      </tr>
                                      <tr>
                                          <th id="col-2" class="header sortable"><span>Total</span></th>
                                          <th id="col-3" class="header sortable"><span>OK</span></th>
                                          <th id="col-4" class="header sortable"><span>KO</span></th>
                                          <th id="col-5" class="header sortable"><span>% KO</span></th>
                                          <th id="col-6" class="header sortable"><span><abbr title="Count of events per second">Cnt/s</abbr></span></th>
                                          <th id="col-7" class="header sortable"><span>Min</span></th>
<th id="col-8" class="header sortable"><span>50th pct</span></th>
<th id="col-9" class="header sortable"><span>75th pct</span></th>
<th id="col-10" class="header sortable"><span>95th pct</span></th>
<th id="col-11" class="header sortable"><span>99th pct</span></th>
<th id="col-12" class="header sortable"><span>Max</span></th>
<th id="col-13" class="header sortable"><span>Mean</span></th>
<th id="col-14" class="header sortable"><span><abbr title="Standard Deviation">Std Dev</abbr></span></th>
                                      </tr>
                                  </thead>
                                  <tbody></tbody>
                              </table>
                              <table id="container_statistics_body" class="statistics-in extensible-geant">
                                  <tbody></tbody>
                              </table>
                            </div>
                        </div>
                      </div>
<dialog id="statistics_table_modal" class="statistics-table-modal">
  <div class="statistics-table-modal-header"><button class="button-modal" onclick="closeStatisticsTableModal()">x</button></div>
  <div class="statistics-table-modal-container">
    <div id="statistics_table_modal_content" class="statistics-table-modal-content"></div>
  </div>
</dialog>
<script>
function openStatisticsTableModal () {
  const statsTable = document.getElementById("stats");
  const statsTableModal = document.getElementById("statistics_table_modal");
  const fullScreenButton = document.getElementById("statistics_full_screen");

  fullScreenButton.disabled = true;

  if (typeof statsTableModal.showModal === "function") {
    const statsTableModalContent = document.getElementById("statistics_table_modal_content");

    statsTableModalContent.innerHTML = "";
    statsTableModalContent.appendChild(statsTable);
    statsTableModal.showModal();

    statsTableModal.addEventListener("close", function () {
      const container = document.getElementById("statistics_table_container");

      container.appendChild(statsTable);
      fullScreenButton.disabled = false;
    });
  } else {
    const incompatibleBrowserVersionMessage = document.createElement("div");

    incompatibleBrowserVersionMessage.innerText = "Sorry, the <dialog> API is not supported by this browser.";
    statsTable.insertBefore(incompatibleBrowserVersionMessage, statsTable.children[0]);
  }
}

function closeStatisticsTableModal () {
  const statsTableModal = document.getElementById("statistics_table_modal");

  statsTableModal.close();
}
</script>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in(201,422,400), but actually found 502<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">51806</td>
		    	<td class="value error-col-3 total ko">75.725 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in([200, 209], 304), found 502<span class="value" style="display:none">1</span></td>
		    	<td class="value error-col-2 total ko">9119</td>
		    	<td class="value error-col-3 total ko">13.329 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.is(400), but actually found 502<span class="value" style="display:none">2</span></td>
		    	<td class="value error-col-2 total ko">4001</td>
		    	<td class="value error-col-3 total ko">5.848 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out: localhost/127.0.0.1:9999<span class="value" style="display:none">3</span></td>
		    	<td class="value error-col-2 total ko">3384</td>
		    	<td class="value error-col-3 total ko">4.946 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">4</span></td>
		    	<td class="value error-col-2 total ko">91</td>
		    	<td class="value error-col-3 total ko">0.133 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">Request timeout to localhost/127.0.0.1:9999 after 60000 ms<span class="value" style="display:none">5</span></td>
		    	<td class="value error-col-2 total ko">12</td>
		    	<td class="value error-col-3 total ko">0.018 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="active_users" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setGlobalMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [345, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

function numberOfRequestsDataForGroup(group) {
  var data = {names: [], oks: [], kos: []};

  $.each(group.contents, function(contentName, content) {
    if (content.type == 'GROUP') {
      var result = numberOfRequestsDataForGroup(content);
      data.names = data.names.concat(result.names);
      data.oks = data.oks.concat(result.oks);
      data.kos = data.kos.concat(result.kos);
    }
    else if (content.type == 'REQUEST') {
      data.names.push(content.path);
      data.oks.push(parseInt(content.stats.numberOfRequests.ok));
      data.kos.push(parseInt(content.stats.numberOfRequests.ko));
    }
  });

  return data;
}

var numberOfRequestsData = numberOfRequestsDataForGroup(stats);
var tickInterval = Math.ceil(numberOfRequestsData.names.length / 1000);

new Highcharts.Chart({
  chart: {
    renderTo:'container_number_of_requests',
    polar:true,
    type:'column',
    height:330
  },
  credits:{
    enabled:false
  },
  title:{
    text:'<span class="chart_title">Number of requests</span>',
    useHTML: true,
    widthAdjust:-20
  },
  xAxis:{
    tickmarkPlacement:'on',
    tickInterval: tickInterval,
    categories:numberOfRequestsData.names,
    labels:{ enabled:false }
  },
  yAxis:{
    min:0,
    reversedStacks: false
  },
  plotOptions:{
    series:{
      stacking:'normal',
      groupPadding:0,
      pointPlacement:'on',
      shadow: true
    }
  },
  legend: {
      borderWidth: 0,
      itemStyle: { fontWeight: "normal" },
      symbolRadius: 0
  },
  series:[
      {
      name:'OK',
      data:numberOfRequestsData.oks,
      color:"#68b65c"
    },
    {
      name:'KO',
      data:numberOfRequestsData.kos,
      color:"#f15b4f"
    }
  ]
});

	    $('#container_exceptions').sortable('#container_exceptions');
    

function generateHtmlRow(request, level, index, parent, group) {
    if (request.name == 'All Requests')
        var url = 'index.html';
    else
        var url = request.pathFormatted + '.html';

    if (group)
        var expandButtonStyle = '';
    else
        var expandButtonStyle = ' hidden';

    if (request.stats.numberOfRequests.total != 0)
        var koPercent = (request.stats.numberOfRequests.ko * 100 / request.stats.numberOfRequests.total).toFixed(0) + '%';
    else
        var koPercent = '-'

    return '<tr id="' + request.pathFormatted + '" data-parent=' + parent + '> \
        <td class="total col-1"> \
          <div class="expandable-container"> \
            <span id="' + request.pathFormatted + '" style="margin-left: ' + (level * 10) + 'px;" class="expand-button' + expandButtonStyle + '">&nbsp;</span> \
            <a href="' + url +'" class="withTooltip">' + ellipsedLabel({ name: request.name, parentClass: "table-cell-tooltip" }) + '</a><span class="value" style="display:none;">' + index + '</span> \
          </div> \
        </td> \
        <td class="value total col-2">' + request.stats.numberOfRequests.total + '</td> \
        <td class="value ok col-3">' + request.stats.numberOfRequests.ok + '</td> \
        <td class="value ko col-4">' + request.stats.numberOfRequests.ko + '</td> \
        <td class="value ko col-5">' + koPercent + '</td> \
        <td class="value total col-6">' + request.stats.meanNumberOfRequestsPerSecond.total + '</td> \
        <td class="value total col-7">' + request.stats.minResponseTime.total + '</td> \
        <td class="value total col-8">' + request.stats.percentiles1.total + '</td> \
        <td class="value total col-9">' + request.stats.percentiles2.total + '</td> \
        <td class="value total col-10">' + request.stats.percentiles3.total + '</td> \
        <td class="value total col-11">' + request.stats.percentiles4.total + '</td> \
        <td class="value total col-12">' + request.stats.maxResponseTime.total + '</td> \
        <td class="value total col-13">' + request.stats.meanResponseTime.total + '</td> \
        <td class="value total col-14">' + request.stats.standardDeviation.total + '</td> \
        </tr>';
}

function generateHtmlRowsForGroup(group, level, index, parent) {
    var buffer = '';

    if (!parent)
        parent = 'ROOT';
    else {
        buffer += generateHtmlRow(group, level - 1, index, parent, true);
        index++;
        parent = group.pathFormatted;
    }

    $.each(group.contents, function(contentName, content) {
        if (content.type == 'GROUP') {
            var result = generateHtmlRowsForGroup(content, level + 1, index, parent);
            buffer += result.html;
            index = result.index;
        }
        else if (content.type == 'REQUEST') {
            buffer += generateHtmlRow(content, level, index, parent);
            index++;
        }
    });

    return { html: buffer, index: index };
}

$('#container_statistics_head tbody').append(generateHtmlRow(stats, 0, 0));

var lines = generateHtmlRowsForGroup(stats, 0, 0);
$('#container_statistics_body tbody').append(lines.html);

$('#container_statistics_head').sortable('#container_statistics_body');
$('.statistics').expandable();

if (lines.index < 30) {
    $('#statistics_title span').attr('style', 'display: none;');
} else {
    $('#statistics_title').addClass('title_collapsed');
    $('#statistics_title').click(function() {
        $('#toggle-stats').toggleClass("off");
        $(this).toggleClass('title_collapsed').toggleClass('title_expanded');
        $('#container_statistics_body').parent().toggleClass('scrollable').toggleClass('');
    });
}
$('.table-cell-tooltip').popover({trigger:'hover'});

	    $('#container_errors').sortable('#container_errors');
    
allUsersData.yAxis = 0;

var allUsersChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'active_users',
    zoomType: 'x'
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    align: 'right',
    verticalAlign: 'top',
    layout: 'vertical',
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis: {
    title: { text: 'Number of Active Users' },
    opposite: false,
    min: 0
  },
  series: [
    {
color: '#5E7BE2',
name: 'Busca Inválida de Pessoas',
data: [
  [1692816501000,3],[1692816502000,5],[1692816503000,7],[1692816504000,9],[1692816505000,2],[1692816506000,2],[1692816507000,2],[1692816508000,2],[1692816509000,2],[1692816510000,3],[1692816511000,3],[1692816512000,4],[1692816513000,4],[1692816514000,2],[1692816515000,2],[1692816516000,2],[1692816517000,2],[1692816518000,2],[1692816519000,3],[1692816520000,3],[1692816521000,4],[1692816522000,3],[1692816523000,2],[1692816524000,2],[1692816525000,2],[1692816526000,6],[1692816527000,6],[1692816528000,6],[1692816529000,7],[1692816530000,7],[1692816531000,7],[1692816532000,7],[1692816533000,8],[1692816534000,7],[1692816535000,8],[1692816536000,8],[1692816537000,8],[1692816538000,8],[1692816539000,10],[1692816540000,10],[1692816541000,9],[1692816542000,9],[1692816543000,9],[1692816544000,10],[1692816545000,9],[1692816546000,10],[1692816547000,11],[1692816548000,12],[1692816549000,13],[1692816550000,11],[1692816551000,10],[1692816552000,11],[1692816553000,12],[1692816554000,11],[1692816555000,12],[1692816556000,13],[1692816557000,14],[1692816558000,14],[1692816559000,13],[1692816560000,12],[1692816561000,13],[1692816562000,13],[1692816563000,13],[1692816564000,13],[1692816565000,15],[1692816566000,14],[1692816567000,15],[1692816568000,14],[1692816569000,14],[1692816570000,15],[1692816571000,14],[1692816572000,15],[1692816573000,15],[1692816574000,15],[1692816575000,16],[1692816576000,15],[1692816577000,16],[1692816578000,16],[1692816579000,16],[1692816580000,16],[1692816581000,17],[1692816582000,16],[1692816583000,18],[1692816584000,18],[1692816585000,19],[1692816586000,17],[1692816587000,18],[1692816588000,17],[1692816589000,18],[1692816590000,19],[1692816591000,18],[1692816592000,18],[1692816593000,19],[1692816594000,19],[1692816595000,19],[1692816596000,20],[1692816597000,19],[1692816598000,20],[1692816599000,20],[1692816600000,20],[1692816601000,21],[1692816602000,21],[1692816603000,22],[1692816604000,21],[1692816605000,21],[1692816606000,21],[1692816607000,22],[1692816608000,21],[1692816609000,22],[1692816610000,22],[1692816611000,22],[1692816612000,22],[1692816613000,23],[1692816614000,23],[1692816615000,23],[1692816616000,23],[1692816617000,23],[1692816618000,24],[1692816619000,24],[1692816620000,24],[1692816621000,24],[1692816622000,26],[1692816623000,25],[1692816624000,24],[1692816625000,25],[1692816626000,25],[1692816627000,25],[1692816628000,26],[1692816629000,27],[1692816630000,27],[1692816631000,28],[1692816632000,26],[1692816633000,27],[1692816634000,27],[1692816635000,28],[1692816636000,27],[1692816637000,29],[1692816638000,27],[1692816639000,33],[1692816640000,28],[1692816641000,28],[1692816642000,28],[1692816643000,35],[1692816644000,28],[1692816645000,30],[1692816646000,28],[1692816647000,33],[1692816648000,29],[1692816649000,31],[1692816650000,29],[1692816651000,32],[1692816652000,30],[1692816653000,32],[1692816654000,30],[1692816655000,33],[1692816656000,31],[1692816657000,34],[1692816658000,31],[1692816659000,33],[1692816660000,46],[1692816661000,34],[1692816662000,40],[1692816663000,35],[1692816664000,54],[1692816665000,41],[1692816666000,55],[1692816667000,42],[1692816668000,63],[1692816669000,56],[1692816670000,88],[1692816671000,120],[1692816672000,146],[1692816673000,140],[1692816674000,165],[1692816675000,190],[1692816676000,208],[1692816677000,226],[1692816678000,218],[1692816679000,210],[1692816680000,234],[1692816681000,240],[1692816682000,254],[1692816683000,268],[1692816684000,279],[1692816685000,314],[1692816686000,351],[1692816687000,336],[1692816688000,373],[1692816689000,398],[1692816690000,400],[1692816691000,402],[1692816692000,404],[1692816693000,413],[1692816694000,429],[1692816695000,451],[1692816696000,473],[1692816697000,497],[1692816698000,477],[1692816699000,499],[1692816700000,513],[1692816701000,488],[1692816702000,493],[1692816703000,515],[1692816704000,503],[1692816705000,534],[1692816706000,436],[1692816707000,423],[1692816708000,366],[1692816709000,313],[1692816710000,262],[1692816711000,252],[1692816712000,180],[1692816713000,175],[1692816714000,126],[1692816715000,105],[1692816716000,80],[1692816717000,51],[1692816718000,3],[1692816719000,2],[1692816720000,2],[1692816721000,2],[1692816722000,2],[1692816723000,1],[1692816724000,1],[1692816725000,1],[1692816726000,1]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#68b65c',
name: 'Busca Válida de Pessoas',
data: [
  [1692816501000,3],[1692816502000,5],[1692816503000,7],[1692816504000,9],[1692816505000,2],[1692816506000,2],[1692816507000,2],[1692816508000,2],[1692816509000,2],[1692816510000,3],[1692816511000,4],[1692816512000,5],[1692816513000,5],[1692816514000,2],[1692816515000,2],[1692816516000,2],[1692816517000,2],[1692816518000,2],[1692816519000,2],[1692816520000,2],[1692816521000,3],[1692816522000,3],[1692816523000,2],[1692816524000,2],[1692816525000,2],[1692816526000,6],[1692816527000,7],[1692816528000,7],[1692816529000,9],[1692816530000,10],[1692816531000,11],[1692816532000,9],[1692816533000,10],[1692816534000,11],[1692816535000,11],[1692816536000,11],[1692816537000,12],[1692816538000,13],[1692816539000,14],[1692816540000,14],[1692816541000,14],[1692816542000,15],[1692816543000,15],[1692816544000,16],[1692816545000,16],[1692816546000,17],[1692816547000,18],[1692816548000,20],[1692816549000,20],[1692816550000,19],[1692816551000,19],[1692816552000,20],[1692816553000,20],[1692816554000,21],[1692816555000,22],[1692816556000,22],[1692816557000,24],[1692816558000,24],[1692816559000,23],[1692816560000,24],[1692816561000,25],[1692816562000,26],[1692816563000,27],[1692816564000,27],[1692816565000,28],[1692816566000,29],[1692816567000,29],[1692816568000,28],[1692816569000,29],[1692816570000,29],[1692816571000,30],[1692816572000,30],[1692816573000,31],[1692816574000,33],[1692816575000,34],[1692816576000,35],[1692816577000,33],[1692816578000,33],[1692816579000,34],[1692816580000,34],[1692816581000,35],[1692816582000,36],[1692816583000,38],[1692816584000,38],[1692816585000,40],[1692816586000,37],[1692816587000,38],[1692816588000,39],[1692816589000,39],[1692816590000,40],[1692816591000,40],[1692816592000,43],[1692816593000,43],[1692816594000,44],[1692816595000,42],[1692816596000,43],[1692816597000,43],[1692816598000,44],[1692816599000,44],[1692816600000,45],[1692816601000,47],[1692816602000,47],[1692816603000,47],[1692816604000,47],[1692816605000,48],[1692816606000,48],[1692816607000,48],[1692816608000,49],[1692816609000,50],[1692816610000,50],[1692816611000,51],[1692816612000,52],[1692816613000,52],[1692816614000,54],[1692816615000,53],[1692816616000,54],[1692816617000,54],[1692816618000,56],[1692816619000,58],[1692816620000,59],[1692816621000,60],[1692816622000,59],[1692816623000,58],[1692816624000,59],[1692816625000,59],[1692816626000,59],[1692816627000,60],[1692816628000,61],[1692816629000,61],[1692816630000,61],[1692816631000,68],[1692816632000,63],[1692816633000,63],[1692816634000,63],[1692816635000,68],[1692816636000,64],[1692816637000,70],[1692816638000,65],[1692816639000,77],[1692816640000,66],[1692816641000,68],[1692816642000,67],[1692816643000,77],[1692816644000,68],[1692816645000,70],[1692816646000,71],[1692816647000,77],[1692816648000,73],[1692816649000,71],[1692816650000,71],[1692816651000,78],[1692816652000,72],[1692816653000,76],[1692816654000,73],[1692816655000,78],[1692816656000,76],[1692816657000,77],[1692816658000,76],[1692816659000,82],[1692816660000,114],[1692816661000,85],[1692816662000,95],[1692816663000,84],[1692816664000,131],[1692816665000,100],[1692816666000,141],[1692816667000,97],[1692816668000,154],[1692816669000,132],[1692816670000,209],[1692816671000,286],[1692816672000,356],[1692816673000,330],[1692816674000,394],[1692816675000,463],[1692816676000,509],[1692816677000,547],[1692816678000,533],[1692816679000,513],[1692816680000,569],[1692816681000,589],[1692816682000,621],[1692816683000,657],[1692816684000,682],[1692816685000,769],[1692816686000,859],[1692816687000,822],[1692816688000,913],[1692816689000,976],[1692816690000,983],[1692816691000,975],[1692816692000,993],[1692816693000,1012],[1692816694000,1055],[1692816695000,1107],[1692816696000,1160],[1692816697000,1206],[1692816698000,1185],[1692816699000,1226],[1692816700000,1260],[1692816701000,1205],[1692816702000,1200],[1692816703000,1255],[1692816704000,1249],[1692816705000,1325],[1692816706000,1081],[1692816707000,1046],[1692816708000,896],[1692816709000,765],[1692816710000,633],[1692816711000,613],[1692816712000,455],[1692816713000,443],[1692816714000,307],[1692816715000,264],[1692816716000,193],[1692816717000,128],[1692816718000,1],[1692816719000,0],[1692816720000,0],[1692816721000,0],[1692816722000,0],[1692816723000,0],[1692816724000,0],[1692816725000,0],[1692816726000,0]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#f15b4f',
name: 'Criação E Talvez Consulta de Pessoas',
data: [
  [1692816501000,3],[1692816502000,5],[1692816503000,7],[1692816504000,9],[1692816505000,2],[1692816506000,2],[1692816507000,2],[1692816508000,2],[1692816509000,2],[1692816510000,2],[1692816511000,7],[1692816512000,9],[1692816513000,5],[1692816514000,4],[1692816515000,5],[1692816516000,4],[1692816517000,4],[1692816518000,5],[1692816519000,4],[1692816520000,11],[1692816521000,6],[1692816522000,11],[1692816523000,6],[1692816524000,6],[1692816525000,8],[1692816526000,7],[1692816527000,11],[1692816528000,15],[1692816529000,19],[1692816530000,23],[1692816531000,27],[1692816532000,28],[1692816533000,32],[1692816534000,35],[1692816535000,40],[1692816536000,41],[1692816537000,44],[1692816538000,50],[1692816539000,57],[1692816540000,60],[1692816541000,59],[1692816542000,62],[1692816543000,67],[1692816544000,69],[1692816545000,72],[1692816546000,75],[1692816547000,81],[1692816548000,86],[1692816549000,90],[1692816550000,90],[1692816551000,93],[1692816552000,95],[1692816553000,100],[1692816554000,102],[1692816555000,107],[1692816556000,112],[1692816557000,118],[1692816558000,120],[1692816559000,119],[1692816560000,122],[1692816561000,124],[1692816562000,129],[1692816563000,133],[1692816564000,137],[1692816565000,146],[1692816566000,147],[1692816567000,150],[1692816568000,147],[1692816569000,152],[1692816570000,156],[1692816571000,159],[1692816572000,164],[1692816573000,169],[1692816574000,176],[1692816575000,178],[1692816576000,181],[1692816577000,180],[1692816578000,182],[1692816579000,185],[1692816580000,189],[1692816581000,192],[1692816582000,196],[1692816583000,205],[1692816584000,207],[1692816585000,211],[1692816586000,209],[1692816587000,213],[1692816588000,215],[1692816589000,219],[1692816590000,221],[1692816591000,224],[1692816592000,237],[1692816593000,240],[1692816594000,241],[1692816595000,240],[1692816596000,241],[1692816597000,247],[1692816598000,249],[1692816599000,254],[1692816600000,257],[1692816601000,265],[1692816602000,270],[1692816603000,273],[1692816604000,270],[1692816605000,273],[1692816606000,278],[1692816607000,280],[1692816608000,281],[1692816609000,288],[1692816610000,300],[1692816611000,299],[1692816612000,308],[1692816613000,300],[1692816614000,314],[1692816615000,309],[1692816616000,312],[1692816617000,312],[1692816618000,330],[1692816619000,325],[1692816620000,332],[1692816621000,333],[1692816622000,341],[1692816623000,335],[1692816624000,340],[1692816625000,343],[1692816626000,346],[1692816627000,361],[1692816628000,358],[1692816629000,364],[1692816630000,364],[1692816631000,383],[1692816632000,364],[1692816633000,370],[1692816634000,368],[1692816635000,393],[1692816636000,377],[1692816637000,408],[1692816638000,392],[1692816639000,468],[1692816640000,390],[1692816641000,401],[1692816642000,395],[1692816643000,470],[1692816644000,403],[1692816645000,420],[1692816646000,416],[1692816647000,443],[1692816648000,420],[1692816649000,425],[1692816650000,424],[1692816651000,456],[1692816652000,432],[1692816653000,452],[1692816654000,438],[1692816655000,457],[1692816656000,450],[1692816657000,464],[1692816658000,469],[1692816659000,489],[1692816660000,679],[1692816661000,505],[1692816662000,586],[1692816663000,503],[1692816664000,777],[1692816665000,588],[1692816666000,807],[1692816667000,562],[1692816668000,907],[1692816669000,788],[1692816670000,1265],[1692816671000,1711],[1692816672000,2123],[1692816673000,2012],[1692816674000,2356],[1692816675000,2732],[1692816676000,3022],[1692816677000,3254],[1692816678000,3162],[1692816679000,3059],[1692816680000,3366],[1692816681000,3491],[1692816682000,3702],[1692816683000,3902],[1692816684000,4062],[1692816685000,4590],[1692816686000,5125],[1692816687000,4864],[1692816688000,5406],[1692816689000,5812],[1692816690000,5857],[1692816691000,5931],[1692816692000,5938],[1692816693000,6040],[1692816694000,6304],[1692816695000,6603],[1692816696000,6924],[1692816697000,7248],[1692816698000,7056],[1692816699000,7334],[1692816700000,7562],[1692816701000,7240],[1692816702000,7222],[1692816703000,7581],[1692816704000,7450],[1692816705000,7916],[1692816706000,6479],[1692816707000,6290],[1692816708000,5418],[1692816709000,4667],[1692816710000,3873],[1692816711000,3705],[1692816712000,2707],[1692816713000,2625],[1692816714000,1911],[1692816715000,1627],[1692816716000,1198],[1692816717000,779],[1692816718000,18],[1692816719000,6],[1692816720000,6],[1692816721000,2],[1692816722000,2],[1692816723000,2],[1692816724000,2],[1692816725000,2],[1692816726000,2]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},

    allUsersData
  ]
});


allUsersChart.setTitle({
  text: '<span class="chart_title">Active Users along the Simulation</span>',
  useHTML: true
});

allUsersData.yAxis = 1;

var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['300', '900', '1500', '2100', '2700', '3300', '3900', '4500', '5100', '5700', '6300', '6900', '7500', '8100', '8700', '9300', '9900', '10500', '11100', '11700', '12300', '12900', '13500', '14100', '14700', '15300', '15900', '16500', '17100', '17700', '18300', '18900', '19500', '20100', '20700', '21300', '21900', '22500', '23100', '23700', '24300', '24900', '25500', '26100', '26700', '27300', '27900', '28500', '29100', '29700', '30301', '30901', '31501', '32101', '32701', '33301', '33901', '34501', '35101', '35701', '36301', '36901', '37501', '38101', '38701', '39301', '39901', '40501', '41101', '41701', '42301', '42901', '43501', '44101', '44701', '45301', '45901', '46501', '47101', '47701', '48301', '48901', '49501', '50101', '50701', '51301', '51901', '52501', '53101', '53701', '54301', '54901', '55501', '56101', '56701', '57301', '57901', '58501', '59101', '59701'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  62.17,1.08,0.07,0.17,0.54,0.76,0.38,0.72,1.42,1.88,1.06,0.79,0.18,0.74,1.36,1.84,7.64,3.54,3.27,2.84,1.82,1.57,1.26,0.29,0.62,0.35,0.3,0.13,0.35,0.31,0.13,0.08,0.12,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692816501,null],[1692816502,null],[1692816503,null],[1692816504,null],[1692816505,null],[1692816506,null],[1692816507,null],[1692816508,null],[1692816509,null],[1692816510,null],[1692816511,null],[1692816512,null],[1692816513,null],[1692816514,null],[1692816515,null],[1692816516,null],[1692816517,null],[1692816518,null],[1692816519,null],[1692816520,null],[1692816521,null],[1692816522,null],[1692816523,null],[1692816524,null],[1692816525,null],[1692816526,null],[1692816527,null],[1692816528,null],[1692816529,null],[1692816530,null],[1692816531,null],[1692816532,null],[1692816533,null],[1692816534,null],[1692816535,null],[1692816536,null],[1692816537,null],[1692816538,null],[1692816539,null],[1692816540,null],[1692816541,null],[1692816542,null],[1692816543,null],[1692816544,null],[1692816545,null],[1692816546,null],[1692816547,null],[1692816548,null],[1692816549,null],[1692816550,null],[1692816551,null],[1692816552,null],[1692816553,null],[1692816554,null],[1692816555,null],[1692816556,null],[1692816557,null],[1692816558,null],[1692816559,null],[1692816560,null],[1692816561,null],[1692816562,null],[1692816563,null],[1692816564,null],[1692816565,null],[1692816566,null],[1692816567,null],[1692816568,null],[1692816569,null],[1692816570,null],[1692816571,null],[1692816572,null],[1692816573,null],[1692816574,null],[1692816575,null],[1692816576,null],[1692816577,null],[1692816578,null],[1692816579,null],[1692816580,null],[1692816581,null],[1692816582,null],[1692816583,null],[1692816584,null],[1692816585,null],[1692816586,null],[1692816587,null],[1692816588,null],[1692816589,null],[1692816590,null],[1692816591,null],[1692816592,null],[1692816593,null],[1692816594,null],[1692816595,null],[1692816596,null],[1692816597,null],[1692816598,null],[1692816599,null],[1692816600,null],[1692816601,null],[1692816602,null],[1692816603,null],[1692816604,null],[1692816605,null],[1692816606,null],[1692816607,null],[1692816608,null],[1692816609,null],[1692816610,null],[1692816611,null],[1692816612,null],[1692816613,null],[1692816614,null],[1692816615,null],[1692816616,null],[1692816617,null],[1692816618,null],[1692816619,null],[1692816620,null],[1692816621,null],[1692816622,null],[1692816623,null],[1692816624,null],[1692816625,null],[1692816626,null],[1692816627,null],[1692816628,null],[1692816629,null],[1692816630,null],[1692816631,null],[1692816632,null],[1692816633,null],[1692816634,null],[1692816635,null],[1692816636,null],[1692816637,null],[1692816638,null],[1692816639,null],[1692816640,null],[1692816641,null],[1692816642,null],[1692816643,null],[1692816644,null],[1692816645,null],[1692816646,null],[1692816647,null],[1692816648,null],[1692816649,null],[1692816650,null],[1692816651,null],[1692816652,null],[1692816653,null],[1692816654,null],[1692816655,null],[1692816656,null],[1692816657,null],[1692816658,null],[1692816659,null],[1692816660,null],[1692816661,null],[1692816662,null],[1692816663,null],[1692816664,null],[1692816665,null],[1692816666,null],[1692816667,null],[1692816668,null],[1692816669,null],[1692816670,null],[1692816671,null],[1692816672,null],[1692816673,null],[1692816674,null],[1692816675,null],[1692816676,null],[1692816677,null],[1692816678,null],[1692816679,null],[1692816680,null],[1692816681,null],[1692816682,null],[1692816683,null],[1692816684,null],[1692816685,null],[1692816686,null],[1692816687,null],[1692816688,null],[1692816689,null],[1692816690,null],[1692816691,null],[1692816692,null],[1692816693,null],[1692816694,null],[1692816695,null],[1692816696,null],[1692816697,null],[1692816698,null],[1692816699,null],[1692816700,null],[1692816701,null],[1692816702,null],[1692816703,null],[1692816704,null],[1692816705,null],[1692816706,null],[1692816707,null],[1692816708,null],[1692816709,null],[1692816710,null],[1692816711,null],[1692816712,null],[1692816713,null],[1692816714,null],[1692816715,null],[1692816716,null],[1692816717,null],[1692816718,null],[1692816719,null],[1692816720,null],[1692816721,null],[1692816722,null],[1692816723,null],[1692816724,null],[1692816725,null],[1692816726,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692816501,[6,0,6]],[1692816502,[6,0,6]],[1692816503,[6,0,6]],[1692816504,[6,0,6]],[1692816505,[6,0,6]],[1692816506,[6,0,6]],[1692816507,[6,0,6]],[1692816508,[6,0,6]],[1692816509,[6,0,6]],[1692816510,[6,0,6]],[1692816511,[8,0,8]],[1692816512,[9,0,9]],[1692816513,[9,0,9]],[1692816514,[7,0,7]],[1692816515,[7,0,7]],[1692816516,[9,0,9]],[1692816517,[8,0,8]],[1692816518,[9,0,9]],[1692816519,[7,0,7]],[1692816520,[8,0,8]],[1692816521,[11,0,11]],[1692816522,[10,0,10]],[1692816523,[11,0,11]],[1692816524,[11,0,11]],[1692816525,[6,0,6]],[1692816526,[15,0,15]],[1692816527,[21,0,21]],[1692816528,[26,0,26]],[1692816529,[30,0,30]],[1692816530,[35,0,35]],[1692816531,[37,0,37]],[1692816532,[42,0,42]],[1692816533,[47,0,47]],[1692816534,[50,0,50]],[1692816535,[55,0,55]],[1692816536,[58,0,58]],[1692816537,[62,0,62]],[1692816538,[66,0,66]],[1692816539,[70,0,70]],[1692816540,[74,0,74]],[1692816541,[79,0,79]],[1692816542,[83,0,83]],[1692816543,[85,0,85]],[1692816544,[91,0,91]],[1692816545,[95,0,95]],[1692816546,[99,0,99]],[1692816547,[102,0,102]],[1692816548,[105,0,105]],[1692816549,[111,0,111]],[1692816550,[115,0,115]],[1692816551,[119,0,119]],[1692816552,[120,0,120]],[1692816553,[128,0,128]],[1692816554,[130,0,130]],[1692816555,[135,0,135]],[1692816556,[139,0,139]],[1692816557,[142,0,142]],[1692816558,[146,0,146]],[1692816559,[150,0,150]],[1692816560,[155,0,155]],[1692816561,[159,0,159]],[1692816562,[162,0,162]],[1692816563,[166,0,166]],[1692816564,[171,0,171]],[1692816565,[175,0,175]],[1692816566,[178,0,178]],[1692816567,[183,0,183]],[1692816568,[187,0,187]],[1692816569,[190,0,190]],[1692816570,[196,0,196]],[1692816571,[198,0,198]],[1692816572,[202,0,202]],[1692816573,[207,0,207]],[1692816574,[210,0,210]],[1692816575,[216,0,216]],[1692816576,[219,0,219]],[1692816577,[222,0,222]],[1692816578,[227,0,227]],[1692816579,[231,0,231]],[1692816580,[234,0,234]],[1692816581,[239,0,239]],[1692816582,[243,0,243]],[1692816583,[247,0,247]],[1692816584,[251,0,251]],[1692816585,[255,0,255]],[1692816586,[259,0,259]],[1692816587,[262,0,262]],[1692816588,[267,0,267]],[1692816589,[270,0,270]],[1692816590,[276,0,276]],[1692816591,[279,0,279]],[1692816592,[282,0,282]],[1692816593,[288,0,288]],[1692816594,[290,0,290]],[1692816595,[295,0,295]],[1692816596,[299,0,299]],[1692816597,[304,0,304]],[1692816598,[305,0,305]],[1692816599,[311,0,311]],[1692816600,[316,0,316]],[1692816601,[319,0,319]],[1692816602,[322,0,322]],[1692816603,[327,0,327]],[1692816604,[332,0,332]],[1692816605,[335,0,335]],[1692816606,[339,0,339]],[1692816607,[342,0,342]],[1692816608,[347,0,347]],[1692816609,[351,0,351]],[1692816610,[356,0,356]],[1692816611,[359,0,359]],[1692816612,[363,0,363]],[1692816613,[367,0,367]],[1692816614,[372,0,372]],[1692816615,[375,0,375]],[1692816616,[379,0,379]],[1692816617,[383,0,383]],[1692816618,[388,0,388]],[1692816619,[390,0,390]],[1692816620,[395,0,395]],[1692816621,[400,0,400]],[1692816622,[402,0,402]],[1692816623,[408,0,408]],[1692816624,[411,0,411]],[1692816625,[416,0,416]],[1692816626,[419,0,419]],[1692816627,[423,0,423]],[1692816628,[427,0,427]],[1692816629,[432,0,432]],[1692816630,[435,0,435]],[1692816631,[439,0,439]],[1692816632,[444,0,444]],[1692816633,[447,0,447]],[1692816634,[451,0,451]],[1692816635,[455,0,455]],[1692816636,[460,0,460]],[1692816637,[463,0,463]],[1692816638,[467,0,467]],[1692816639,[472,0,472]],[1692816640,[477,0,477]],[1692816641,[478,0,478]],[1692816642,[484,0,484]],[1692816643,[487,0,487]],[1692816644,[492,0,492]],[1692816645,[496,0,496]],[1692816646,[499,0,499]],[1692816647,[502,0,502]],[1692816648,[508,0,508]],[1692816649,[512,0,512]],[1692816650,[516,0,516]],[1692816651,[519,0,519]],[1692816652,[524,0,524]],[1692816653,[528,0,528]],[1692816654,[532,0,532]],[1692816655,[535,0,535]],[1692816656,[539,0,539]],[1692816657,[543,0,543]],[1692816658,[548,0,548]],[1692816659,[551,0,551]],[1692816660,[556,0,556]],[1692816661,[560,0,560]],[1692816662,[564,0,564]],[1692816663,[567,0,567]],[1692816664,[568,0,568]],[1692816665,[580,0,580]],[1692816666,[580,0,580]],[1692816667,[584,0,584]],[1692816668,[587,0,587]],[1692816669,[591,0,591]],[1692816670,[596,0,596]],[1692816671,[600,0,600]],[1692816672,[603,0,603]],[1692816673,[608,0,608]],[1692816674,[610,0,610]],[1692816675,[618,0,618]],[1692816676,[622,0,622]],[1692816677,[622,0,622]],[1692816678,[628,0,628]],[1692816679,[631,0,631]],[1692816680,[637,0,637]],[1692816681,[640,0,640]],[1692816682,[643,0,643]],[1692816683,[648,0,648]],[1692816684,[652,0,652]],[1692816685,[656,0,656]],[1692816686,[660,0,660]],[1692816687,[664,0,664]],[1692816688,[667,0,667]],[1692816689,[672,0,672]],[1692816690,[677,0,677]],[1692816691,[680,0,680]],[1692816692,[684,0,684]],[1692816693,[688,0,688]],[1692816694,[692,0,692]],[1692816695,[696,0,696]],[1692816696,[701,0,701]],[1692816697,[703,0,703]],[1692816698,[707,0,707]],[1692816699,[713,0,713]],[1692816700,[716,0,716]],[1692816701,[719,0,719]],[1692816702,[725,0,725]],[1692816703,[728,0,728]],[1692816704,[734,0,734]],[1692816705,[734,0,734]],[1692816706,[342,0,342]],[1692816707,[0,0,0]],[1692816708,[0,0,0]],[1692816709,[0,0,0]],[1692816710,[0,0,0]],[1692816711,[0,0,0]],[1692816712,[0,0,0]],[1692816713,[0,0,0]],[1692816714,[0,0,0]],[1692816715,[0,0,0]],[1692816716,[0,0,0]],[1692816717,[0,0,0]],[1692816718,[0,0,0]],[1692816719,[0,0,0]],[1692816720,[0,0,0]],[1692816721,[0,0,0]],[1692816722,[0,0,0]],[1692816723,[0,0,0]],[1692816724,[0,0,0]],[1692816725,[0,0,0]],[1692816726,[0,0,0]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692816501,[0,0,0]],[1692816502,[0,0,0]],[1692816503,[0,0,0]],[1692816504,[0,0,0]],[1692816505,[30,0,30]],[1692816506,[6,0,6]],[1692816507,[6,0,6]],[1692816508,[6,0,6]],[1692816509,[6,0,6]],[1692816510,[2,0,2]],[1692816511,[8,0,8]],[1692816512,[5,0,5]],[1692816513,[17,0,17]],[1692816514,[7,0,7]],[1692816515,[7,0,7]],[1692816516,[9,0,9]],[1692816517,[8,0,8]],[1692816518,[9,0,9]],[1692816519,[5,0,5]],[1692816520,[4,0,4]],[1692816521,[11,0,11]],[1692816522,[16,0,16]],[1692816523,[9,0,9]],[1692816524,[11,0,11]],[1692816525,[8,0,8]],[1692816526,[15,0,15]],[1692816527,[21,0,21]],[1692816528,[26,0,26]],[1692816529,[26,0,26]],[1692816530,[35,0,35]],[1692816531,[37,0,37]],[1692816532,[46,0,46]],[1692816533,[47,0,47]],[1692816534,[50,0,50]],[1692816535,[55,0,55]],[1692816536,[58,0,58]],[1692816537,[62,0,62]],[1692816538,[60,0,60]],[1692816539,[70,0,70]],[1692816540,[74,0,74]],[1692816541,[85,0,85]],[1692816542,[83,0,83]],[1692816543,[85,0,85]],[1692816544,[91,0,91]],[1692816545,[95,0,95]],[1692816546,[99,0,99]],[1692816547,[94,0,94]],[1692816548,[105,0,105]],[1692816549,[111,0,111]],[1692816550,[123,0,123]],[1692816551,[119,0,119]],[1692816552,[120,0,120]],[1692816553,[127,0,127]],[1692816554,[131,0,131]],[1692816555,[135,0,135]],[1692816556,[130,0,130]],[1692816557,[142,0,142]],[1692816558,[147,0,147]],[1692816559,[157,0,157]],[1692816560,[156,0,156]],[1692816561,[159,0,159]],[1692816562,[162,0,162]],[1692816563,[166,0,166]],[1692816564,[171,0,171]],[1692816565,[167,0,167]],[1692816566,[178,0,178]],[1692816567,[183,0,183]],[1692816568,[195,0,195]],[1692816569,[190,0,190]],[1692816570,[196,0,196]],[1692816571,[198,0,198]],[1692816572,[200,0,200]],[1692816573,[209,0,209]],[1692816574,[202,0,202]],[1692816575,[216,0,216]],[1692816576,[219,0,219]],[1692816577,[230,0,230]],[1692816578,[226,0,226]],[1692816579,[232,0,232]],[1692816580,[234,0,234]],[1692816581,[238,0,238]],[1692816582,[243,0,243]],[1692816583,[240,0,240]],[1692816584,[250,0,250]],[1692816585,[256,0,256]],[1692816586,[266,0,266]],[1692816587,[263,0,263]],[1692816588,[266,0,266]],[1692816589,[270,0,270]],[1692816590,[276,0,276]],[1692816591,[279,0,279]],[1692816592,[274,0,274]],[1692816593,[288,0,288]],[1692816594,[291,0,291]],[1692816595,[303,0,303]],[1692816596,[299,0,299]],[1692816597,[303,0,303]],[1692816598,[306,0,306]],[1692816599,[311,0,311]],[1692816600,[316,0,316]],[1692816601,[310,0,310]],[1692816602,[321,0,321]],[1692816603,[329,0,329]],[1692816604,[340,0,340]],[1692816605,[335,0,335]],[1692816606,[339,0,339]],[1692816607,[342,0,342]],[1692816608,[347,0,347]],[1692816609,[351,0,351]],[1692816610,[301,0,301]],[1692816611,[405,0,405]],[1692816612,[362,0,362]],[1692816613,[376,0,376]],[1692816614,[369,0,369]],[1692816615,[379,0,379]],[1692816616,[375,0,375]],[1692816617,[386,0,386]],[1692816618,[386,0,386]],[1692816619,[385,0,385]],[1692816620,[393,0,393]],[1692816621,[402,0,402]],[1692816622,[407,0,407]],[1692816623,[411,0,411]],[1692816624,[407,0,407]],[1692816625,[420,0,420]],[1692816626,[409,0,409]],[1692816627,[433,0,433]],[1692816628,[416,0,416]],[1692816629,[434,0,434]],[1692816630,[433,0,433]],[1692816631,[449,0,449]],[1692816632,[441,0,441]],[1692816633,[450,0,450]],[1692816634,[426,0,426]],[1692816635,[481,0,481]],[1692816636,[436,0,436]],[1692816637,[479,0,479]],[1692816638,[427,0,427]],[1692816639,[486,0,486]],[1692816640,[503,0,503]],[1692816641,[486,0,486]],[1692816642,[474,0,474]],[1692816643,[350,0,350]],[1692816644,[630,0,630]],[1692816645,[499,0,499]],[1692816646,[497,0,497]],[1692816647,[489,0,489]],[1692816648,[521,0,521]],[1692816649,[509,0,509]],[1692816650,[526,0,526]],[1692816651,[454,0,454]],[1692816652,[590,0,590]],[1692816653,[438,0,438]],[1692816654,[621,0,621]],[1692816655,[504,0,504]],[1692816656,[562,0,562]],[1692816657,[477,0,477]],[1692816658,[618,0,618]],[1692816659,[393,0,393]],[1692816660,[715,0,715]],[1692816661,[441,0,441]],[1692816662,[678,0,678]],[1692816663,[364,0,364]],[1692816664,[709,0,709]],[1692816665,[390,0,390]],[1692816666,[828,0,828]],[1692816667,[322,0,322]],[1692816668,[776,0,776]],[1692816669,[3,0,3]],[1692816670,[55,0,55]],[1692816671,[89,0,89]],[1692816672,[519,0,519]],[1692816673,[410,0,410]],[1692816674,[79,0,79]],[1692816675,[235,0,235]],[1692816676,[365,0,365]],[1692816677,[244,0,244]],[1692816678,[721,0,721]],[1692816679,[674,0,674]],[1692816680,[413,0,413]],[1692816681,[405,0,405]],[1692816682,[307,0,307]],[1692816683,[464,0,464]],[1692816684,[331,0,331]],[1692816685,[35,0,35]],[1692816686,[107,0,107]],[1692816687,[871,0,871]],[1692816688,[0,0,0]],[1692816689,[180,0,180]],[1692816690,[630,0,630]],[1692816691,[1185,0,1185]],[1692816692,[134,0,134]],[1692816693,[507,0,507]],[1692816694,[438,0,438]],[1692816695,[358,0,358]],[1692816696,[222,0,222]],[1692816697,[506,0,506]],[1692816698,[948,0,948]],[1692816699,[584,0,584]],[1692816700,[612,0,612]],[1692816701,[1055,0,1055]],[1692816702,[258,0,258]],[1692816703,[1011,0,1011]],[1692816704,[150,0,150]],[1692816705,[878,0,878]],[1692816706,[1086,0,1086]],[1692816707,[656,0,656]],[1692816708,[1136,0,1136]],[1692816709,[998,0,998]],[1692816710,[560,0,560]],[1692816711,[152,0,152]],[1692816712,[1145,0,1145]],[1692816713,[512,0,512]],[1692816714,[627,0,627]],[1692816715,[574,0,574]],[1692816716,[606,0,606]],[1692816717,[88,0,88]],[1692816718,[848,0,848]],[1692816719,[14,0,14]],[1692816720,[0,0,0]],[1692816721,[4,0,4]],[1692816722,[0,0,0]],[1692816723,[1,0,1]],[1692816724,[0,0,0]],[1692816725,[0,0,0]],[1692816726,[3,0,3]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 68413.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
